package com.edu.blog.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author: LuckyBear
 * @date: 2018-10-30 8:57
 * @description:
 */

public class Article {
    private Integer id;     //主键
    private Integer article_number;        //文章编号
    private char article_title;        //文章标题
    private Date artcle_time;        //发表时间
    private Integer publisher_id;       //博主编号
    private String article_content;         //文章内容
    private Integer comments_count;     //评论数
    private Integer like_count;          //点赞数
    private Integer view_count;         //浏览数
    private String title_photo;         //标题图片


    public Article() {
    }

    public Article(Integer id, Integer article_number, char article_title, Date artcle_time, Integer publisher_id, String article_content, Integer comments_count, Integer like_count, Integer view_count, String title_photo) {
        this.id = id;
        this.article_number = article_number;
        this.article_title = article_title;
        this.artcle_time = artcle_time;
        this.publisher_id = publisher_id;
        this.article_content = article_content;
        this.comments_count = comments_count;
        this.like_count = like_count;
        this.view_count = view_count;
        this.title_photo = title_photo;
    }

    public Article(Integer article_number, char article_title, Date artcle_time, Integer publisher_id, String article_content, Integer comments_count, Integer like_count, Integer view_count, String title_photo) {
        this.article_number = article_number;
        this.article_title = article_title;
        this.artcle_time = artcle_time;
        this.publisher_id = publisher_id;
        this.article_content = article_content;
        this.comments_count = comments_count;
        this.like_count = like_count;
        this.view_count = view_count;
        this.title_photo = title_photo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getArticle_number() {
        return article_number;
    }

    public void setArticle_number(Integer article_number) {
        this.article_number = article_number;
    }

    public char getArticle_title() {
        return article_title;
    }

    public void setArticle_title(char article_title) {
        this.article_title = article_title;
    }

    public Date getArtcle_time() {
        return artcle_time;
    }

    public void setArtcle_time(Date artcle_time) {
        this.artcle_time = artcle_time;
    }

    public Integer getPublisher_id() {
        return publisher_id;
    }

    public void setPublisher_id(Integer publisher_id) {
        this.publisher_id = publisher_id;
    }

    public String getArticle_content() {
        return article_content;
    }

    public void setArticle_content(String article_content) {
        this.article_content = article_content;
    }

    public Integer getComments_count() {
        return comments_count;
    }

    public void setComments_count(Integer comments_count) {
        this.comments_count = comments_count;
    }

    public Integer getLike_count() {
        return like_count;
    }

    public void setLike_count(Integer like_count) {
        this.like_count = like_count;
    }

    public Integer getView_count() {
        return view_count;
    }

    public void setView_count(Integer view_count) {
        this.view_count = view_count;
    }

    public String getTitle_photo() {
        return title_photo;
    }

    public void setTitle_photo(String title_photo) {
        this.title_photo = title_photo;
    }


}
